﻿//浏览搜索
function SearBrowseDocs()
{
    var age=$("selAge").value;
    var arr=age.split("-");
    MinAge=arr[0].toString();
    MaxAge=arr[1].toString();
    var isAvatar = $("iconCheck").checked?"1":"0";
    var isNativeBL=$("IsNativeBLID").checked?"1":"0";    
    top.location="/partner/1-"+$("selLearnL").value+"-"+$("selSpeakL").value+"-"+$("selCountry").value+"-"+MaxAge+"-"+MinAge+"-"+$("selGender").value+"-"+isAvatar+"-"+isNativeBL+".htm";
}
//根据昵称名会员号搜索
function SearchDocs()
{
    showProgressBar(true);    
    var searchVal = $("textSear2").value;     
    if(searchVal==null||searchVal=="")
    {
        showProgressBar(false);
        return;
    }
    if(searchVal>50)searchVal=searchVal.substring(0,49);
    top.location="/partner/search.htm?name="+searchVal+"&p=1";
}